home *** CD-ROM | disk | FTP | other *** search
/ F1 Licenseware / F1 Licenseware - Volume 1.iso / disks / 028.dms / 028.adf / Commands_List / Script_Commands / If...Else...EndIf < prev    next >
Encoding:
Text File  |  1993-08-08  |  624 b   |  23 lines

  1. Command name : If...Else...EndIf
  2.  
  3. Function : Conditional operators
  4.  
  5. Arguments : If [NOT] [WARN]
  6.  
  7. Location : Kickstart ROM
  8.  
  9. Now I must say now that those two arguments are not the only two, but are
  10. the most commonly used.  If activates the section below it if the condition 
  11. of its argument is true.  If an Else is specified then it runs the section
  12. after that.  EndIf tells the computer that the If section is over.  Please 
  13. see the command Ask for the most common use.
  14.  
  15. If (Condition is true)
  16.     Do this
  17. Else
  18.     If false, do this
  19. EndIf
  20.  
  21.     And if there is anything here, do this after the If section, 
  22.     regardless of the result.
  23.